home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / PSPad editor 4.5.4 build 2356 beta / pspad454inst_en.exe / {app} / Context / ActionScript.DEF next >
Text File  |  2003-10-25  |  12KB  |  788 lines

  1. ; PSPad clip definition file for ActionScript and HTML version 1
  2. ;
  3. ; Author: Karel Pavelka webjob@seznam.cz
  4. ; last change: 5.6.2003
  5. ;
  6. [Macro definition]
  7. %align3%=@C align=,align=,,center;left;right,'
  8. %boolean%=@C boolean,,,true;false,"
  9. %color%=@E color=,color=,,,'
  10. %command%=@C command,,,allowscale;fullscreen;exep;quit;showmenu;trapallkeys,"
  11. %condition%=@E condition,,,,
  12. %event%=@C event,,,load;unload;enterFrame;mouseDown;mouseMove;mouseUp;keyDown;keyUP;data,
  13. %face%=@F face=,face=,,,'
  14. %frame%=@E snapshot,,,,
  15. %href%=@O href=,href=,http://,html file (*.html;*.htm;*.php;*.php3;*.asp)|*.html;*.htm;*.php;*.php3;*.asp,'
  16. %include%=@O include,include,,ActionScript(*.as)|*.as,
  17. %keycode%=@E key code,,,,
  18. %level%=@C level,,,0;1;2;3;4;5;6;7;8;9,
  19. %loadi%=@P picture,,,,,"
  20. %init%=@E inicialization,,,,
  21. %next%=@E next,,,,
  22. %loadt%=@O text file,,,document (*.txt)|*.txt,"
  23. %loadxml%=@O file,,,file (*.xml;*.php;*.php3;*.asp)|*.xml;*.php;*.php3;*.asp,"
  24. %loops%=@E loop count,,,,,
  25. %method%=@C method,,,get;post,"
  26. %n%=@E number,,,,,
  27. %on%=@C on,,,press;release;releaseOutside;rollOver;rollOut;dragOver;dragOut;keyPress'<BACKSPACE>';keyPress'<CAPSLOCK>';keyPress'<CONTROL>';keyPress'<DELETEKEY>';keyPress'<DOWN>';keyPress'<END>';keyPress'<ENTER>';keyPress'<ESCAPE>';keyPress'<HOME>';keyPress'<INSERT>';keyPress'<LEFT>';keyPress'<PGDN>';keyPress'<PGUP>';keyPress'<RIGHT>';keyPress'<SHIFT>';keyPress'<SPACE>';keyPress'<TAB>';keyPress'<UP>',
  28. %scene%=@E scene,,,,,"
  29. %size%=@E size=,size=,,,'
  30. %target%=@C target=,target=,,_blank;_parent;_self;_top,'
  31. %url%=@O file,,,file (*.swf)|*.swf,"
  32. %variable%=@E variable,,,,
  33. %window%=@C window,,,_blank;_parent;_self;_top,
  34. %x%=@E osa x,,,,,
  35. %value%=@E value,,,,,
  36. %XML%=@E XML variable,,,,
  37. %y%=@E osa y,,,,,
  38. ;
  39. ;---------------------------------------------------------------------
  40. ;  HTML version 1.0 tags, supported by Flash in dynamic text fields
  41. ;---------------------------------------------------------------------
  42. ;
  43. [a |N link without underline]
  44. <a %href% %target%>º|</a>
  45. ;
  46. [a |N link with underline]
  47. <u><a %href%>º|</a></u>
  48. ;
  49. [b |N bold text <b></b>]*CTRL+B
  50. <b>º|</b>
  51. ;
  52. [body |N document body]
  53. <body>
  54.  º|
  55. </body>
  56. ;
  57. [br |N line break]*CTRL+ENTER
  58. <br>
  59. ;
  60. [font |N font setting]
  61. <font %size% %face% %color%>º|</font>
  62. ;
  63. [html |N html document <html></html>]
  64. <html>
  65.  º|
  66. </html>
  67. ;
  68. [HTMLs |N simple HTML template]
  69. %variable%=<html>
  70.  <body>
  71.   º|
  72.  </body>
  73. </html>
  74. ;
  75. [i |N italic text]
  76. <i>º|</i>
  77. ;
  78. [p |N paragraph]*SHIFT+CTRL+P
  79. <p %align3%>
  80.  º|
  81. </p>
  82. ;
  83. [u |N underline text]
  84. <u>º|</u>
  85. ;
  86. ;
  87. ;---------------------------------------------------------------------
  88. ;  ActionScript
  89. ;---------------------------------------------------------------------
  90. ;
  91. ;
  92. [/*...*/ | block comment]
  93. /*
  94.  º|
  95. */
  96. ;
  97. [break | loop break]
  98. break;
  99. ;
  100. [continue  | continue loop with new iteration]
  101. continue;
  102. ;
  103. [call  |D execute script connected to snapshot label]
  104. call(%frame%);
  105. ;
  106. [delete  | removes variable]
  107. delete %variable%;
  108. ;
  109. [do_while | loop control]
  110. do {
  111.   |
  112. } while (%condition%)
  113. ;
  114. [else | ELSE condition (part of IF-ELSE)]
  115. elese {
  116.      |
  117. }
  118. ;
  119. [exIMAGE  | load external image to presentation]
  120. createEmptyMovieClip(%variable%, %n%);
  121. %variable%.loadMovie(%loadi%);
  122. %variable%._visible = true; 
  123. %variable%._x=%x%;
  124. %variable%._y=%y%;
  125. ;
  126. [for | FOR loop control]
  127. for (%init%; %condition%; %next%){
  128.         |
  129. }
  130. ;
  131. [fscommand | FS command]
  132. fscommand(%command%, %boolean%);
  133. ;
  134. [fscommandA | prevent presentation size changes]
  135. fscommand("allowscale","false");
  136. ;
  137. [fscommandF | fullscreen presentation]
  138. fscommand("fullscreen","true");
  139. ;
  140. [fscommandN | open document *.txt in Notepad from Flash presentation]
  141. fscommand("exep","notepad"+chr(9)+%loadt%);
  142. ;
  143. [fscommandQ | finish presentation]
  144. fscommand("quit");
  145. ;
  146. [fscommandS | hide context menu]
  147. fscommand("showmenu","false");
  148. ;
  149. [fscommandT | disable shortcuts]
  150. fscommand("trapallkeys","true");
  151. ;
  152. [getURL | load file from URL]
  153. getURL(%url%);
  154. ;
  155. [gotoAndPlay | goto and play]
  156. gotoAndPlay(|);
  157. ;
  158. [gotoAndStop | goto and stop]
  159. gotoAndStop(|);
  160. ;
  161. [if | condition command definition]
  162. if (%condition%) {
  163.      |
  164. }
  165. ;
  166. [ifFrameLoaded |D ]
  167. ifFrameLoaded()
  168. ;
  169. [include | inserts ActionScript from external document]
  170. #include "%include%"
  171. ;
  172. [initclip | inicialization]
  173. #initclip |
  174. ;
  175. [loadMovie | load movie]
  176. loadMovie(%url%, %method%);
  177. ;
  178. [loadMovieNum | load movie with designate level]
  179. loadMovie(%url%, %level%);
  180. ;
  181. [loadVariables | load movie into clip from external variable]
  182. loadVariables(%loadt%, %method%);
  183. ;
  184. [Mouse.hide | hide mouse cursor]
  185. Mouse.hide();
  186. ;
  187. [Mouse.show | show mouse cursor]
  188. Mouse.show();
  189. ;
  190. [nextScene | next scene]
  191. nextScene();
  192. ;
  193. [nextFrame | next snapshot]
  194. nextFrame();
  195. ;
  196. [on | assign action to button]
  197. on (%on%) {
  198. }
  199. ;
  200. [on1 | goto scene after button press]
  201. on(release) {
  202.    tellTarget (_root) {
  203.        gotoAndPlay (%scene%, %frame%)
  204.    }
  205. }
  206. ;
  207. [onJS | link to JavaScript]
  208. on (release) {
  209. getURL("Javascript:|");
  210. }
  211. ;
  212. [onClipEvent | on clip event]
  213. onClipEvent(%event%) {
  214. }
  215. ;
  216. [play | start playback from actual time scale position]
  217. play();
  218. ;
  219. [prevScene | previous scene]
  220. prevScene();
  221. ;
  222. [useCodepage | allow use Unicode charset]
  223. System.useCodepage=true;
  224. ;
  225. [setDate | set day in month]
  226. setDate(|);
  227. ;
  228. [setFullYear | set month, year and date]
  229. setFullYear(|);
  230. ;
  231. [stop | stop playback]
  232. stop();
  233. ;
  234. [stopAllSounds | stop sound playback]
  235. stopAllSounds();
  236. ;
  237. [stopDrag | stop clip draging]
  238. stopDrag();
  239. ;
  240. [targetPath | ]
  241. targetPath();
  242. ;
  243. [toggleHighQuality |D ]
  244. toggleHighQuality()
  245. ;
  246. [trace | show expression in ouptup window - debug mode]
  247. trace("º|");
  248. ;
  249. [undefined | undefined]
  250. undefined
  251. ;
  252. [unloadMovie | remove loaded movie]
  253. unloadMovie(%url%|);
  254. ;
  255. [unloadMovieNum | remove loaded movie from level]
  256. unloadMovieNum(%level%);
  257. ;
  258. [var | define local variable]
  259. var %variable% = %value%;
  260. ;
  261. [XML | create XML objectu instance]
  262. %XML% = new XML();
  263. ;
  264. [XMLattributes | XML Node attribute]
  265. %XML%.attributes;
  266. ;
  267. [XMLload | ]
  268. %XML%.load(%loadxml%);
  269. ;
  270. [XMLloaded | verifying XML dokument inserting finished]
  271. %XML%.loaded;
  272. ;
  273. [XMLignoreWhite| ignore white space]
  274. %XML%.ignoreWhite = true;
  275. ;
  276. [XMLonData | ]
  277. %XML%.onData(%xmlsrc%);
  278. ;
  279. [XMLonLoad | ]
  280. %XML%.onLoad(success);
  281. ;
  282. [XMLNode.parentNode | return parent node]
  283. .parentNode;
  284. ;
  285. [XMLsend | XML - send object]
  286. %XML%.send(%url%, %window%);
  287. ;
  288. [XMLxmlDec1 | get XML deklaration]
  289. %XML%.xmlDec1|
  290. ;
  291. [Keywords]
  292. abs
  293. Accessibility
  294. acos
  295. add
  296. addItem
  297. addItemAt
  298. addListener
  299. addProperty
  300. align
  301. alpha
  302. and
  303. appendChild
  304. apply
  305. applyChanges
  306. arguments
  307. Array
  308. arrow
  309. asin
  310. atan
  311. atan2
  312. attachMovie
  313. attachSound
  314. attributes
  315. autoSize
  316. background
  317. backgroundColor
  318. backgroundDisabled
  319. BACKSPACE
  320. beginFill
  321. beginGradientFill
  322. bold
  323. Boolean
  324. border
  325. borderColor
  326. bottomScroll
  327. bullet
  328. call
  329. callee
  330. caller
  331. capabilities
  332. CAPSLOCK
  333. ceil
  334. clear
  335. clearInterval
  336. cloneNode
  337. close
  338. color
  339. Color
  340. concat
  341. connect
  342. contentType
  343. CONTROL
  344. cos
  345. createElement
  346. createEmptyMovieClip
  347. createTextField
  348. createTextNode
  349. currentframe
  350. curveTo
  351. CustomActions
  352. darkshadow
  353. data
  354. Date
  355. DELETEKEY
  356. do
  357. docTypeDecl
  358. DOWN
  359. dragOut
  360. dragOver
  361. droptarget
  362. duplicateMovieClip
  363. duration
  364. embedFonts
  365. enabled
  366. END
  367. endFill
  368. endinitclip
  369. ENTER
  370. enterFrame
  371. escape
  372. ESCAPE
  373. eval
  374. exp
  375. face
  376. false
  377. firstChild
  378. floor
  379. focusEnabled
  380. focusrect
  381. focusRectInner
  382. focusRectOuter
  383. font
  384. foregroundDisabled
  385. framesloaded
  386. fromCharCode
  387. fscommand
  388. FStyleFormat
  389. get
  390. getAscii
  391. getBeginIndex
  392. getBounds
  393. getBytesLoaded
  394. getBytesTotal
  395. getCaretIndex
  396. getCode
  397. getData
  398. getDate
  399. getDay
  400. getDepth
  401. getEnabled
  402. getEndIndex
  403. getFocus
  404. getFontList
  405. getFullYear
  406. getGroupName
  407. getHours
  408. getItemAt
  409. getLabel
  410. getLength
  411. getMilliseconds
  412. getMinutes
  413. getMonth
  414. getNewTextFormat
  415. getPan
  416. getPaneHeight
  417. getPaneWidth
  418. getProperty
  419. getRGB
  420. getRowCount
  421. getScrollContent
  422. getScrollPosition
  423. getSeconds
  424. getSelectedIndex
  425. getSelectedIndices
  426. getSelectedItem
  427. getSelectedItems
  428. getSelectMultiple
  429. getState
  430. getTextExtent
  431. getTextFormat
  432. getTime
  433. getTimer
  434. getTimezoneOffset
  435. getTransform
  436. getURL
  437. getUTCDate
  438. getUTCDay
  439. getUTCFullYear
  440. getUTCMilliseconds
  441. getUTCMinutes
  442. getUTCMonth
  443. getUTCSeconds
  444. getUTCHours
  445. getValue
  446. getVersion
  447. getVolume
  448. getYear
  449. global
  450. globalStyleFormat
  451. globalToLocal
  452. gotoAndPlay
  453. gotoAndStop
  454. hasAccessibility
  455. hasAudio
  456. hasAudioEncoder
  457. hasChildNodes
  458. hasVideoEncoder
  459. height
  460. hide
  461. highlight
  462. highlight3D
  463. highquality
  464. hitArea
  465. HOME
  466. hscroll
  467. html
  468. htmlText
  469. charAt
  470. charCodeAt
  471. check
  472. childNodes
  473. ifFrameLoaded
  474. ignoreWhite
  475. include
  476. indent
  477. indexOf
  478. initclip
  479. INSERT
  480. insertBefore
  481. install
  482. int
  483. isActive
  484. isDown
  485. isFinite
  486. isNaN
  487. isToggled
  488. italic
  489. join
  490. Key
  491. keyDown
  492. keyPress
  493. keyUp
  494. lastChild
  495. lastIndexOf
  496. leading
  497. LEFT
  498. leftMargin
  499. length
  500. lineStyle
  501. lineTo
  502. list
  503. LN10
  504. LN2
  505. load
  506. loaded
  507. loadMovie
  508. loadMovieNum
  509. loadScrollContent
  510. loadSound
  511. loadVariables
  512. loadVariablesNum
  513. LoadVars
  514. localToGlobal
  515. log
  516. LOG10E
  517. LOG2E
  518. Math
  519. MAX_VALUE
  520. maxhscroll
  521. maxChars
  522. maxscroll
  523. mbchr
  524. mblength
  525. mbord
  526. mbsubstring
  527. min
  528. MIN_VALUE
  529. Mouse
  530. mouseDown
  531. mouseMove
  532. mouseUp
  533. moveTo
  534. multiline
  535. name
  536. NaN
  537. NEGATIVE_INFINITY
  538. newline
  539. nextFrame
  540. nextScene
  541. nextSibling
  542. nodeName
  543. nodeType
  544. nodeValue
  545. not
  546. null
  547. Number
  548. Object
  549. onClipEvent
  550. onClose
  551. onConnect
  552. onData
  553. onDragOut
  554. onDragOver
  555. onEnterFrame
  556. onChanged
  557. onKeyDown
  558. onKeyUp
  559. onKillFocus
  560. onLoad
  561. onMouseDown
  562. onMouseMove
  563. onMouseUp
  564. onPress
  565. onRelease
  566. onReleaseOutside
  567. onResize
  568. onRollOut
  569. onRollOver
  570. onScroller
  571. onSetFocus
  572. onSoundComplete
  573. onUnload
  574. onXML
  575. ord
  576. parent
  577. parentNode
  578. parseFloat
  579. parseInt
  580. parseXML
  581. password
  582. PGDN
  583. PGUP
  584. PI
  585. pixelAspectRatio
  586. play
  587. pop
  588. position
  589. POSITIVE_INFINITY
  590. pow
  591. press
  592. prevFrame
  593. previousSibling
  594. prevScene
  595. print
  596. printAsBitmap
  597. printAsBitmapNum
  598. printNum
  599. proto__
  600. prototype
  601. push
  602. quality
  603. radioDot
  604. random
  605. refreshPane
  606. registerClass
  607. registerSkinElement
  608. release
  609. releaseOutside
  610. removeAll
  611. removeItemAt
  612. removeListener
  613. removeMovieClip
  614. removeNode
  615. removeTextField
  616. replaceItemAt
  617. replaceSel
  618. restrict
  619. reverse
  620. RIGHT
  621. rightMargin
  622. rollOut
  623. rollOver
  624. root
  625. rotation
  626. round
  627. scaleMode
  628. screenColor
  629. screenDPI
  630. screenResolutionX
  631. screenResolutionY
  632. scroll
  633. scrollTrack
  634. selectable
  635. selection
  636. Selection
  637. selectionDisabled
  638. selectionUnfocused
  639. send
  640. sendAndLoad
  641. set
  642. setAutoHideScrollBar
  643. setClickHandler
  644. setData
  645. setDragContent
  646. setEditable
  647. setEnabled
  648. setFocus
  649. setFullYear
  650. setGroupName
  651. setHorizontal
  652. setHours
  653. setHScroll
  654. setChangeHandler
  655. setInterval
  656. setItemSymbol
  657. setLabel
  658. setLabelPlacement
  659. setLargeScroll
  660. setMask
  661. setMilliseconds
  662. setMinutes
  663. setMonth
  664. setNewTextFormat
  665. setPan
  666. setProperty
  667. setRGB
  668. setRowCount
  669. setScrollContent
  670. setScrollPosition
  671. setScrollProperties
  672. setScrollTarget
  673. setSeconds
  674. setSelectedIndex
  675. setSelectedIndices
  676. setSelection
  677. setSelectMultiple
  678. setSize
  679. setSmallScroll
  680. setState
  681. setStyleProperty
  682. setTextFormat
  683. setTime
  684. setTransform
  685. setUTCDate
  686. setUTCFullYear
  687. setUTCMilliseconds
  688. setUTCMinutes
  689. setUTCMonth
  690. setUTCSeconds
  691. setUTCHours
  692. setValue
  693. setVolume
  694. shadow
  695. shift
  696. SHIFT
  697. show
  698. showMenu
  699. sin
  700. size
  701. slice
  702. sort
  703. sortItemsBy
  704. sortOn
  705. Sound
  706. soundbuftime
  707. SPACE
  708. splice
  709. split
  710. sqrt
  711. SQRT1_2
  712. SQRT2
  713. Stage
  714. Stagealign
  715. start
  716. startDrag
  717. status
  718. stop
  719. stopAllSounds
  720. stopDrag
  721. String
  722. substr
  723. substring
  724. super
  725. swapDepths
  726. System
  727. TAB
  728. tabEnabled
  729. tabChildren
  730. tabIndex
  731. tabStops
  732. tan
  733. target
  734. targetPath
  735. tellTarget
  736. text
  737. textAlign
  738. textBold
  739. textColor
  740. textDisabled
  741. textFont
  742. TextFormat
  743. textHeight
  744. textIndent
  745. textItalic
  746. textLeftMargin
  747. textRightMargin
  748. textSelected
  749. textSize
  750. textUnderline
  751. textWidth
  752. toggleHighQuality
  753. toLowerCase
  754. toString
  755. totalframes
  756. toUpperCase
  757. trace
  758. trackAsMenu
  759. true
  760. type
  761. undefined
  762. underline
  763. unescape
  764. uninstall
  765. unload
  766. unloadMovie
  767. unloadMovieNum
  768. unshift
  769. unwatch
  770. UP
  771. updateAfterEvent
  772. url
  773. useHandCursor
  774. UTC
  775. valueOf
  776. variable
  777. visible
  778. watch
  779. width
  780. wordWrap
  781. XML
  782. xmlDecl
  783. XMLSocket
  784. xmouse
  785. xscale
  786. ymouse
  787. yscale
  788.